// vant@latest-v2 配置
// babel-plugin-import -D 下载的插件
module.exports = {
  presets: [
    '@vue/cli-plugin-babel/preset'
  ],
  plugins: [
    ['import', {
      libraryName: 'vant',
      libraryDirectory: 'es',
      style: (name) => `${name}/style/less`
    }, 'vant']
  ]
}

//  style: (name) => `${name}/style/less` 主体定制
